@import "theme";

.index-banner-wrap{
  width: 1200px;
  height: 360px;
  overflow: hidden;
  position: relative;
  margin: 20px auto 0;
  box-shadow: 0 10px 12px rgba(54, 56, 64, .09);
  .swiper-pagination{
    bottom: 15px;
    text-align: right;
    padding: 0 25px;
    box-sizing: border-box;
  }
  .swiper-pagination-bullet{
    width: 28px;
    height: 4px;
    background-color: @white;
    opacity: .6;
    border-radius: @radius;
    margin: 0 5px;
  }
  .swiper-pagination-bullet-active{
    opacity: .9;
  }
  .swiper-button-prev, .swiper-button-next{
    width: 30px;
    height: 56px;
  }
  .swiper-button-prev{
    background: url("../images/index_prev_btn.png") no-repeat;
    left: 0;
  }
  .swiper-button-next{
    background: url("../images/index_next_btn.png") no-repeat;
    right: 0;
  }
  .index-banner{
    width: 980px;
    height: 100%;
    position: absolute;
    left: 50%;
    margin-left: -380px;
    top: 0;
    border-top-right-radius: @radius;
    border-bottom-right-radius: @radius;
  }
  .swiper-slide{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 980px 100%;
  }
  .slide-link{
    width: 100%;
    height: 100%;
    display: block;
  }
  .ileader-main{
    width: 220px;
    position: absolute;
    z-index: 1000;
    left: 50%;
    margin-left: -600px;
  }
  .banner-nav{
    background-color: @gray33;
    border-top-left-radius: @radius;
    border-bottom-left-radius: @radius;
    padding: 20px 15px;
  }
  .nav-list{
    width: 100%;
    letter-spacing: 2px;
  }
  .nav-item{
    height: 50px;
    line-height: 50px;
    position: relative;
    margin-top: 4px;
    box-sizing: border-box;
    transition: all .3s ease-in-out;
    &.active{
      width: 220px;
      background-color: @white;
      border-top-left-radius: @radius;
      border-bottom-left-radius: @radius;
      padding-left: 20px;
      .item-link{
        color: @gray33;
        &:before{
          right: 10px;
          background-position: -25px -10px;
        }
      }
    }
    &:first-child{
      margin-top: 0;
    }
  }
  .item-link{
    width: 162px;
    display: block;
    padding: 0 20px 0 8px;
    position: relative;
    color: @white;
    .info{
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    &:before{
      width: 10px;
      height: 10px;
      content: "";
      display: inline-block;
      position: absolute;
      right: 4px;
      top: 50%;
      margin-top: -5px;
      background: url("../images/main_icons.png") no-repeat;
      background-position: -25px 0;
    }
  }
}

.il-course-floor{
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 35px 0 25px;
  &.all-live-floor{
    padding-top: 25px;
    background-color: #f6f5fb;
    .floor-title{
      margin-bottom: 25px;
    }
    .item-name{
      margin-bottom: 4px;
    }
    .item-info{
      margin-bottom: 8px;
    }
    .item-info .sp{
      &:after{
        width: 1px;
        height: 10px;
        display: inline-block;
        content: "";
        background-color: @grayCC;
        vertical-align: -1px;
        margin-left: 8px;
      }
    }
    .item-price{
      em{
        font-size: 12px;
        font-style: normal;
      }
    }
  }
  &.bg-none{
    background: none;
    padding-top: 20px;
  }
  .floor-title{
    line-height: 36px;
    margin-bottom: 15px;
    letter-spacing: 2px;
  }
  .ft-title{
    font-size: 26px;
    float: left;
    color: @gray33;
    font-family: "PingFangBold";
  }
  .ft-more{
    color: @gray33;
    float: right;
    transition: all .3s ease-in-out;
    line-height: 20px;
    margin-top: 15px;
    font-family: "PingFangRegular";
    &:hover{
      color: @blue;
      transform: translateX(2px);
      &:after{
        background-position: -325px 0;
      }
    }
    &:after{
      width: 10px;
      height: 10px;
      display: inline-block;
      content: "";
      background: url("../images/main_icons.png") no-repeat;
      background-position: -325px -10px;
      margin-left: 6px;
    }
  }
  .floor-list{
    margin-right: -20px;
  }
  .list-item{
    width: 224px;
    height: 250px;
    float: left;
    margin: 0 20px 20px 0;
  }
  .item-link{
    width: 100%;
    display: block;
    &:hover{
      .item-pic{
        box-shadow: 0 10px 12px rgba(54, 56, 64, .09);
        img{
          transform: scale(1.01);
        }
      }
    }
  }
  .item-pic{
    width: 100%;
    height: 128px;
    border-radius: @radius;
    overflow: hidden;
    transition: all .3s ease-in-out;
    position: relative;
    img{
      width: 100%;
      height: 100%;
      transition: all .3s ease-in-out;
    }
  }
  .item-flag{
    width: 40px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    background-color: @blue;
    background: linear-gradient(83deg, @blue, @green);
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 10px;
    color: @white;
    border-radius: 0 20px 20px 0;
    padding-left: 6px;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
  }
  .item-content{
    padding: 16px 0 0;
  }
  .item-name{
    max-height: 44px;
    color: @gray33;
    line-height: 22px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 1px;
  }
  .item-info{
    font-size: 12px;
    color: @grayB3;
    margin-bottom: 6px;
    overflow: hidden;
    .sp{
      margin-right: 5px;
      display: inline-block;
      vertical-align: middle;
    }
    .time{
      display: inline-block;
      vertical-align: middle;
      &:before{
        width: 15px;
        height: 15px;
        content: "";
        background: url("../images/main_icons.png") no-repeat;
        background-position: -50px 0;
        float: left;
        margin-top: 2px;
        margin-right: 4px;
      }
    }
    .icon{
      width: 10px;
      height: 10px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 5px;
      background: url(../images/main_icons.png) no-repeat;
      &.icon-num{
        background-position: -340px 0;
      }
      &.icon-level{
        background-position: -340px -10px;
      }
    }
  }
  .star-box{
    width: 70px;
    height: 14px;
    background: url("../images/index_star.png") no-repeat;
    background-position: 0 0;
    margin-top: 2px;
  }
  .box-inner{
    width: 0;
    height: 100%;
    background: url("../images/index_star.png") no-repeat;
    background-position: 0 -14px;
  }
  .item-price{
    font-size: 16px;
    em{
      font-style: normal;
      font-size: 12px;
    }
  }
}
.il-teacher-floor{
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 36px 0 35px;
  background-color: #f6f5fb;
  &.all-teacher-floor{
    padding-top: 25px;
    .floor-title{
      margin-bottom: 25px;
    }
  }
  .floor-title{
    line-height: 36px;
    margin-bottom: 15px;
    letter-spacing: 2px;
  }
  .ft-title{
    font-size: 26px;
    float: left;
    color: @gray33;
    font-family: "PingFangBold";
  }
  .ft-more{
    color: @gray33;
    float: right;
    transition: all .3s ease-in-out;
    line-height: 20px;
    margin-top: 15px;
    font-family: "PingFangRegular";
    &:hover{
      color: @blue;
      transform: translateX(2px);
      &:after{
        background-position: -325px 0;
      }
    }
    &:after{
      width: 10px;
      height: 10px;
      display: inline-block;
      content: "";
      background: url("../images/main_icons.png") no-repeat;
      background-position: -325px -10px;
      margin-left: 6px;
    }
  }
  .floor-list{
    margin-right: -20px;
    letter-spacing: 1px;
  }
  .list-item{
    width: 224px;
    height: 220px;
    float: left;
    margin-right: 20px;
    margin-bottom: 25px;
    position: relative;
    background-color: @white;
    border: 1px solid #e6e6e6;
    border-radius: @radius;
    box-sizing: border-box;
    transition: all .3s ease-in-out;
    &:hover{
      box-shadow: 0 10px 12px rgba(54, 56, 64, .09);
      .item-shadow{
        opacity: 1;
      }
      .item-pic{
        img{
          transform: scale(1.01);
        }
      }
    }
  }
  .item-link{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }
  .item-pic{
    width: 100%;
    height: 128px;
    border-radius: @radius;
    overflow: hidden;
    position: relative;
    img{
      width: 100%;
      height: 100%;
      transition: all .3s ease-in-out;
    }
  }
  .item-shadow{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
    top: 0;
    left: 0;
    text-align: center;
    padding: 40px 0;
    box-sizing: border-box;
    font-size: 12px;
    color: @white;
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  .zoom{
    width: 25px;
    height: 25px;
    display: inline-block;
    background: url("../images/main_icons.png") no-repeat -275px -50px;
    margin-bottom: 5px;
  }
  .item-content{
    width: 100%;
    padding: 18px 8px 12px;
    box-sizing: border-box;
  }
  .item-name{
    height: 20px;
    line-height: 20px;
    color: @gray33;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  .item-info{
    font-size: 12px;
    color: @gray66;
    line-height: 18px;
    max-height: 36px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
.il-openclass-floor{
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 36px 0 65px;
  background-color: #fafafc;
  .floor-title{
    line-height: 36px;
    margin-bottom: 15px;
    letter-spacing: 2px;
  }
  .ft-title{
    font-size: 26px;
    float: left;
    color: @gray33;
    font-family: "PingFangBold";
  }
  .ft-more{
    color: @gray33;
    float: right;
    transition: all .3s ease-in-out;
    line-height: 20px;
    margin-top: 15px;
    font-family: "PingFangRegular";
    &:hover{
      color: @blue;
      transform: translateX(2px);
      &:after{
        background-position: -325px 0;
      }
    }
    &:after{
      width: 10px;
      height: 10px;
      display: inline-block;
      content: "";
      background: url("../images/main_icons.png") no-repeat;
      background-position: -325px -10px;
      margin-left: 6px;
    }
  }
  .floor-list{
    margin-right: -20px;
  }
  .list-item{
    width: 590px;
    height: 128px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    position: relative;
    border-radius: @radius;
    background-color: @white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(22, 190, 120, .08);
  }
  .item-link{
    width: 100%;
    height: 100%;
    display: block;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    overflow: hidden;
    &:hover{
      .item-pic{
        img{
          transform: scale(1.02);
        }
      }
    }
  }
  .item-pic{
    width: 224px;
    height: 128px;
    float: left;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
      transition: all .3s ease-in-out;
    }
  }
  .item-content{
    width: 245px;
    float: left;
    padding: 16px 0 10px 20px;
  }
  .item-name{
    color: @gray33;
    line-height: 22px;
    max-height: 44px;
    font-size: 16px;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  .item-info{
    font-size: 12px;
    color: @grayB3;
    margin-bottom: 14px;
    line-height: 18px;
    .level{
      margin-right: 8px;
      display: inline-block;
      vertical-align: middle;
      &:after{
        width: 1px;
        height: 10px;
        display: inline-block;
        content: "";
        background-color: @grayCC;
        vertical-align: -1px;
        margin-left: 8px;
      }
    }
    .time{
      display: inline-block;
      vertical-align: middle;
      &:before{
        width: 15px;
        height: 15px;
        content: "";
        background: url("../images/main_icons.png") no-repeat;
        background-position: -50px 0;
        float: left;
        margin-top: 2px;
        margin-right: 4px;
      }
    }
  }
  .item-price{
    font-size: 16px;
    position: absolute;
    bottom: 15px;
    em{
      font-style: normal;
      font-size: 12px;
    }
  }
}


//分页
.ileader-page{
  .layui-laypage{
    a, span{
      background: none;
      border-color: transparent;
      padding: 0 10px;
      border-radius: 50%;
      color: @grayB3;
      margin: 0 6px;
      font-size: 14px;
      &:hover{
        color: @blue;
      }
    }
    .layui-laypage-curr{
      border: 0;
      font-weight: bold;
      .layui-laypage-em{
        background-color: #58c8f9;
        background-color: rgba(17, 177, 247, .7);
        top: 0;
        left: 0;
        padding: 0;
        border: 1px solid @blue;
        box-sizing: border-box;
        border-radius: 50%;
      }
    }
    .layui-laypage-first{
      float: left;
    }
    .layui-laypage-last{
      float: right;
    }
  }
}

//暂无内容
.error-page{
  width: 100%;
  height: 400px;
  display: table;
  text-align: center;
  color: #f1ba89;
  .page-inner{
    display: table-cell;
    vertical-align: middle;
  }
  .bg{
    width: 250px;
    height: 200px;
    background: url("../images/error_bg.png") no-repeat;
    display: inline-block;
  }
}

//全部讲师


//全部课程
.course-nav-box{
  .label{
    width: 55px;
    line-height: 30px;
    color: @gray66;
    float: left;
    padding: 10px 0;
  }
  .course-nav-list{
    width: 1145px;
    float: left;
  }
  .course-nav-row{
    border-bottom: 1px solid @grayEB;
    margin-bottom: 22px;
    letter-spacing: 1px;
  }
  .course-nav-item{
    float: left;
    margin: 10px 20px 10px 0;
    a{
      color: @gray33;
      padding: 4px 9px;
      line-height: 20px;
      border: 1px solid transparent;
      display: inline-block;
      border-radius: @radius;
      transition: all .3s ease-in-out;
      border-radius: 30px;
      &:hover, &.active{
        border-color: @blue;
        background-color: rgba(17, 177, 247, .7);
        color: @white;
      }
    }
  }
  .course-more{
    line-height: 12px;
    text-align: center;
    padding-bottom: 44px;
  }
  .c-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(241, 183, 91, .5);
    position: relative;
    display: inline-block;
    &:before, &:after{
      width: 8px;
      height: 8px;
      display: inline-block;
      content: "";
      position: absolute;
      border-radius: 50%;
    }
    &:before{
      left: -18px;
      background-color: rgba(241, 183, 91, 1);
    }
    &:after{
      right: -18px;
      background-color: rgba(241, 183, 91, .2);
    }
  }
}

.course-tool-bar{
  background-color: #f2f0f0;
  padding: 10px;
  border-radius: @radius;
  margin-bottom: 32px;
  letter-spacing: 1px;
  .tool-left{
    float: left;
  }
  .tl-btn{
    width: 100px;
    display: inline-block;
    padding: 4px 10px;
    line-height: 22px;
    border-radius: @radius;
    color: @gray33;
    text-align: center;
    box-sizing: border-box;
    &.active, &:hover{
      color: @white;
      background-color: @blue;
      background: linear-gradient(83deg, @blue, @green);
    }
  }
  .tool-right{
    float: right;
    padding: 5px 10px;
  }
  .page-num{
    margin-right: 2px;
    font-size: 12px;
    color: @gray33;
    display: inline-block;
    .page-cur{
      font-style: normal;
      color: @blue;
    }
  }
  .icon{
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    &.icon-left{
      background-position: -25px -25px;
    }
    &.icon-right{
      background-position: -35px -25px;
    }
  }
  .pager-action{
    padding: 5px;
    &.disabled{
      cursor: default;
      .icon{
        opacity: 0.3;
      }
    }
    &:hover{
      .icon-left{
        background-position: -25px -35px;
      }
      .icon-right{
        background-position: -35px -35px;
      }
    }
  }
}

//课程详情页
.course-details-floor{
  width: 100%;
  background-color: #f5f5fa;
  height: auto;
  overflow: hidden;
  padding: 30px 0;
}
.course-details-info{
  width: 100%;
  height: auto;
  background-color: @white;
  border-radius: @radius;
  box-sizing: border-box;
  padding: 18px;
  overflow: hidden;
  position: relative;
  .pic{
    width: 362px;
    height: 204px;
    border-radius: @radius;
    overflow: hidden;
    float: left;
    margin-right: 20px;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .info-content{
    width: 400px;
    height: 204px;
    float: left;
    position: relative;
    &.set-width{
      width: 782px;
    }
  }
  .info-title{
    max-height: 60px;
    font-size: 20px;
    line-height: 30px;
    margin-top: 2px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  .number{
    font-size: 12px;
    color: @grayB3;
    margin-right: 1px;
    &:after{
      width: 1px;
      height: 10px;
      display: inline-block;
      content: "";
      background-color: @grayCC;
      vertical-align: -1px;
      margin-left: 8px;
    }
  }
  .star-box{
    width: 70px;
    height: 14px;
    background: url("../images/index_star.png") no-repeat;
    background-position: 0 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    &:hover{
      .star-rate{
        opacity: 1;
        transform: scale(1);
      }
    }
    .box-inner{
      width: 0;
      height: 100%;
      background: url("../images/index_star.png") no-repeat;
      background-position: 0 -14px;
    }
    .star-rate{
      width: 100px;
      min-height: 45px;
      border-radius: @radius;
      background-color: #e7f7fe;
      position: absolute;
      top: -50px;
      z-index: 10;
      font-size: 12px;
      padding: 5px 10px;
      box-sizing: border-box;
      transform: scale(0);
      opacity: 0;
      transform-origin: left bottom;
      transition: all .3s ease-in-out;
      &:before{
        width: 0;
        height: 0;
        content: "";
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        border-top: 5px solid #e5ecf9;
        position: absolute;
        bottom: -5px;
        left: 10px;
      }
      .rate-title{
        font-weight: bold;
      }
      .layui-rate{
        padding: 0;
        .layui-icon{
          font-size: 12px;
          margin-right: 2px;
          color: #e59f47;
          opacity: .3;
          &.layui-icon-rate-solid{
            opacity: 1;
          }
          &:before{
            content: "\e67a" !important;
          }
        }
      }
    }
  }
  .info-show{
    margin-bottom: 6px;
  }
  .info-price{
    font-size: 20px;
    position: absolute;
    bottom: 81px;
    em{
      font-size: 12px;
      font-style: normal;
    }
  }
  .info-op{
    position: absolute;
    bottom: 0;
  }
  .layui-btn{
    width: 150px;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    letter-spacing: 1.5px;
  }
  .info-bar{
    position: absolute;
    right: 18px;
    line-height: 15px;
    letter-spacing: 1px;
    a{
      color: @gray33;
      margin-left: 18px;
      &:hover{
        opacity: .6;
      }
      &.on{
        .icon-store{
          background-position: -95px -25px;
        }
        .icon-share{
          background-position: -135px -25px;
        }
      }
    }
    .icon{
      width: 15px;
      height: 15px;
      display: inline-block;
      background-image: url("../images/main_icons.png");
      background-repeat: no-repeat;
      vertical-align: -2px;
      margin-right: 6px;
    }
    .icon-store{
      background-position: -75px -25px;
    }
    .icon-share{
      background-position: -115px -25px;
    }
  }
  .info-t-title{
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    margin-top: 2px;
    margin-bottom: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 1px;
    color: @gray33;
  }
  .info-t-level{
    color: @gray66;
  }
  .icon-level{
    width: 15px;
    height: 15px;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    display: inline-block;
    background-position: -250px 0;
    vertical-align: -2px;
    margin-right: 8px;
  }
  .info-t-b{
    width: 100%;
    padding: 8px 0;
    position: absolute;
    bottom: 0;
    border-top: 1px solid @grayEB;
    color: @grayB3;
    span{
      &:first-child{
        margin-right: 8px;
        &:after{
          width: 1px;
          height: 10px;
          background-color: @grayCC;
          content: "";
          display: inline-block;
          vertical-align: middle;
          margin-left: 10px;
        }
      }
    }
  }
  .info-time{
    color: @grayB3;
    margin-bottom: 25px;
    .sp1{
      &:after{
        width: 1px;
        height: 10px;
        background-color: @grayCC;
        display: inline-block;
        content: "";
        margin-left: 10px;
        margin-right: 10px;
      }
    }
    .time {
      display: inline-block;
      font-size: 12px;
      vertical-align: 1px;
      &:before {
        width: 15px;
        height: 15px;
        content: "";
        background: url(../images/main_icons.png) no-repeat;
        background-position: -50px 0;
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
      }
    }
    p{
      margin-top: 6px!important;
    }
  }
}

.course-aside-wrap{
  width: 284px;
  min-height: 300px;
  float: right;
  background-color: @white;
  border-radius: @radius;
  box-sizing: border-box;
  .aside-hd{
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid @grayEB;
    padding: 0 18px;
    color: @gray66;
    .title{
      font-weight: bold;
      letter-spacing: 1px;
    }
  }
  .aside-bd{
    padding: 20px 18px;
  }
  .teacher-info{
    width: 100%;
    height: 120px;
    position: relative;
    border-radius: @radius;
    transition: all .3s ease-in-out;
    &:hover{
      box-shadow: 0 2px 10px rgba(40, 46, 56, .1);
    }
    .item-link{
      width: 100%;
      height: 100%;
      display: block;
      box-sizing: border-box;
      padding: 18px 10px 0;
      position: relative;
      z-index: 100;
    }
    .item-pic{
      width: 75px;
      height: 75px;
      float: left;
      overflow: hidden;
      margin-top: 2px;
      margin-right: 10px;
      img{
        width: 100%;
        height: 100%;
        border: 1px solid @grayCC;
        box-sizing: border-box;
        border-radius: 50%;
      }
    }
    .item-content{
      width: 143px;
      float: left;
    }
    .item-name{
      height: 20px;
      line-height: 20px;
      color: @gray33;
      font-size: 16px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin-bottom: 4px;
      letter-spacing: 1px;
    }
    .item-info{
      font-size: 12px;
      color: @gray66;
      line-height: 20px;
      max-height: 60px;
      overflow : hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }
  }
}
.course-main-wrap{
  width: 900px;
  height: auto;
  background-color: @white;
  border-radius: @radius;
  float: left;
  &.bg-none{
    background: none;
  }
  &.set-width{
    width: 100%;
    float: none;
  }
}
.course-sub-nav{
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid @grayEB;
  padding: 0 18px;
  letter-spacing: 1px;
  a{
    color: @gray66;
    margin-right: 22px;
    &.active{
      font-weight: bold;
    }
    &:hover, &.active{
      color: @gray66;
    }
  }
}
.course-main{
  padding: 20px 18px;
  min-height: 500px;
}
.course-intro-modular{
  color: @gray66;
  line-height: 28px;
  margin-top: -5px;
  overflow: hidden;
  img{
    max-width: 100%;
  }
}
.course-catalog-modular{
  .chapter-head{
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #f5f5f5;
    color: @gray66;
    padding: 0 10px 0 20px;
    box-sizing: border-box;
  }
  .section{
    width: 100%;
    height: 40px;
    line-height: 40px;
    position: relative;
    &.isUnPay{
      .section-link{
        pointer-events: none;
        user-select: none;
      }
    }
    &.isUnLock{
      .section-link{
        pointer-events: none;
        user-select: none;
      }
    }
    &:hover{
      background-color: #e7f7fe;
      .section-name{
        span{
          color: @gray66!important;
        }
      }
      .section-link{
        color: @gray66;
      }
    }
  }
  .chapter-title{
    width: 70px;
    letter-spacing: 1px;
  }
  .chapter-name{
    max-width: 600px;
    letter-spacing: 1px;
  }
  .section-title{
    width: 70px;
    color: @gray66;
    letter-spacing: 1px;
  }
  .section-name{
    max-width: 600px;
    letter-spacing: 1px;
  }
  .color-gray{
    color: @grayB3;
  }
  .section-link{
    width: 100%;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    padding: 0 10px 0 20px;
    color: #333;
    opacity: 1;
    transition: background-color .3s ease-in-out;
  }
  .progress{
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border: 1px solid @green;
    border-radius: 50%;
    display: inline-block;
    overflow: hidden;
    position: relative;
    .progress-inner{
      width: 0;
      height: 100%;
      background-color: @green;
      display: inline-block;
      position: absolute;
    }
  }
  .s-info{
    font-size: 12px;
    color: @grayB3;
  }
  .s-icon{
    width: 14px;
    height: 14px;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    margin-top: 13px;
    margin-right: 6px;
  }
  .s-icon-1{
    background-position: -150px -25px;
  }
  .s-icon-2{
    background-position: -170px -25px;
  }
  .js-btn-pay, .js-btn-lock{
    font-size: 12px;
    color: @gray66;
    position: absolute;
    right: 10px;
    top: 0;
  }
}

.comment-modular{

}
.comment-modular-header{
  padding-bottom: 20px;
  border-bottom: 1px solid @grayEB;
  margin-bottom: 20px;
  .user-avatar{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 8px;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .comment-publish{
    margin-left: 45px;
    .cp-text{
      height: 50px;
    }
    .cp-box{
      margin-bottom: 15px;
    }
  }
}
.comment-publish{
  .cp-box{
    margin-bottom: 8px;
  }
  .cp-text{
    width: 100%;
    height: 30px;
    padding: 6px 10px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    resize: none;
    border-radius: @radius;
    display: block;
    font-size: 12px;
    color: @gray66;
  }
  .btn-publish{
    width: 100px;
    height: 30px;
    line-height: 30px;
    background-color: #59c9f8;
    font-size: 12px;
    letter-spacing: 1px;
    &.disabled{
      opacity: .6;
      cursor: not-allowed;
    }
  }
}
.comment-list{
  color: #333;
  >.list-item{
    padding-bottom: 30px;
    border-bottom: 1px solid @grayEB;
    margin-bottom: 25px;
    &:last-child{
      border-bottom: 0;
    }
  }
  .user-name{
    color: @red;
  }
  .item-avatar{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 2px;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .item-content{
    margin-left: 45px;
  }
  .cp-func{
    font-size: 12px;
    color: @gray66;
    overflow: hidden;
  }
  .cp-time, .cp-handle{
    height: 22px;
    line-height: 22px;
  }
  .btn-flag{
    height: 16px;
    line-height: 14px;
    background-color: @gray66;
    border-radius: 20px;
    color: @white;
    display: inline-block;
    padding: 0 4px;
  }
  .btn-replay{
    margin-left: 14px;
    color: @gray66;
    &:hover{
      color: @blue;
    }
  }
  .btb-store{
    margin-left: 14px;
    color: @gray66;
    &.on{
      .icon-store{
        background-position: -170px 0;
      }
    }
  }
  .btn-praise{
    margin-left: 14px;
    color: @gray66;
    &.on{
      .icon-praise{
        background-position: -295px 0;
      }
    }
  }
  .icon{
    width: 14px;
    height: 14px;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: -3px;
    margin-right: 2px;
    &.icon-store{
      background-position: -150px 0;
    }
    &.icon-praise{
      background-position: -275px 0;
    }
  }
  .comment-publish{
    padding: 20px 0 0;
  }
  .comment-inner-list{
    background-color: #f7f7f7;
    border-radius: @radius;
    margin-top: 14px;
    padding: 10px 0;
    .user-name{
      color: #59c9f8;
      +.user-name{
        color: @red;
      }
    }
    .item-content{
      margin: 0;
    }
    .list-item{
      padding: 5px 20px;
    }
  }
}

//正文详情
.course-details-comment{
  width: 100%;
  height: auto;
  overflow: hidden;
  .comment-title{
    padding: 20px 18px 15px;
    border-bottom: 1px solid @grayEB;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }
}

//提示
.ileader-task-tips{
  min-height: 200px;
  text-align: center;
  font-size: 16px;
  padding: 30px 30px;
  .layui-icon{
    margin-right: 5px;
  }
}

//视频课
.study-main{
  width: 100%;
  height: auto;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.course-sidebar-layout{
  width: 60px;
  height: 100%;
  min-height: 480px;
  background-color: #27282a;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: table;
  z-index: 10000;
  &.set-fixed{
    position: fixed;
    top: 60px;
  }
  dl{
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    user-select: none;
  }
  dd{
    width: 100%;
    height: auto;
    text-align: center;
    padding: 10px 0 8px;
    cursor: pointer;
    color: #4b4f57;
    &.active, &:hover{
      background-color: #323336;
      color: @white;
      .icon-chapter{
        background-position: -200px -80px;
      }
      .icon-comment{
        background-position: -240px -80px;
      }
    }
  }
  .icon{
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
  }
  .icon-chapter{
    background-position: -200px -50px;
  }
  .icon-comment{
    background-position: -240px -50px;
  }
  span{
    display: block;
  }
}
.course-video-wrap{
  position: absolute;
  left: 60px;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: @black;
  z-index: 999;
}
.course-video-box{
  width: 100%;
  height: 100%;
  outline: none;
  .vjs-big-play-button{
    width: 60px;
    height: 60px;
    line-height: 55px;
    border-radius: 50%;
    top: 45%;
    left: 50%;
  }
  .vjs-control-bar{
    height: 60px;
    background-color: #27282a;
    padding-left: 20px;
    padding-right: 10px;
  }
  .vjs-control:before{
    line-height: 60px;
  }
  .vjs-menu-content{
    height: 60px!important;
  }
  .vjs-time-control{
    line-height: 60px;
  }
  .vjs-fullscreen-control{
    font-size: 12px;
  }
  .vjs-play-progress, .vjs-volume-level{
    border-radius: @radius;
  }
  .vjs-progress-holder{
    height: 6px;
  }
  .vjs-play-progress:before, .vjs-volume-level:before{
    font-size: 14px;
    top: -4px;
  }
  .vjs-volume-bar.vjs-slider-horizontal{
    height: 6px;
  }
  .vjs-slider-horizontal .vjs-volume-level{
    height: 6px;
  }
  .vjs-slider{
    background-color: #4b4f57;
    border-radius: @radius;
  }
  .vjs-volume-bar{
    margin-top: 28px;
  }
  .vjs-playing{
    &:before{
      background: url("../images/audio_btn2.png") no-repeat center center;
      font-size: 0;
    }
  }
  .vjs-paused{
    &:before{
      background: url("../images/audio_btn1.png") no-repeat center center;
      font-size: 0;
    }
  }
  //.vjs-tech{
  //  object-fit: fill!important;
  //}
  .vjs-poster{
    background-size: cover;
  }
  &.audio-box{
    .vjs-tech{
      object-fit: fill
    }
  }
}
.course-sidebar-list{
  width: 400px;
  position: absolute;
  //left: 60px;
  left: -400px;
  opacity: 0;
  top: 0;
  bottom: 0;
  padding: 20px;
  background-color: #323336;
  z-index: 9999;
  box-sizing: border-box;
  transition: all .3s ease-in-out;
  &.set-fixed{
    top: 60px;
    position: fixed;
  }
  &.active{
    left: 60px;
    opacity: 1;
  }
  .chapter-head{
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: @white;
    font-weight: bold;
  }
  .chapter-title{
    width: 60px;
  }
  .chapter-name{

  }
  .course-catalog-item{
    margin-bottom: 20px;
  }
  .section{
    width: 100%;
    height: 40px;
    line-height: 40px;
    position: relative;
    font-size: 12px;
    &.isLocked{
      .section-link{
        color: @grayCC!important;
        cursor: not-allowed;
        opacity: .4;
      }
      .s-icon-1{
        background-position: -150px -25px!important;
      }
      .s-icon-2{
        background-position: -170px -25px!important;
      }
    }
  }
  .section-link{
    display: block;
    color: @grayCC;
    &:hover{
      color: @white;
      .s-icon-1{
        background-position: -190px -25px;
      }
      .s-icon-2{
        background-position: -210px -25px;
      }
    }
  }
  .section-title{
    max-width: 55px;
  }
  .section-name{
    max-width: 180px;
  }
  .section-time{
    max-width: 60px;
  }
  .s-icon{
    width: 14px;
    height: 14px;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    margin-top: 14px;
    margin-right: 10px;
  }
  .s-icon-1{
    background-position: -150px -25px;
  }
  .s-icon-2{
    background-position: -170px -25px;
  }
  .color-orange{
    color: @red;
  }
  //.color-green{
  //  color: #9ad18b;
  //}

}

.course-audio-content{
  width: 100%;
  text-align: center;
  font-size: 16px;
  color: @white;
  position: absolute;
  top: 50%;
  margin-top: -20px;
  letter-spacing: 2px;
  z-index: 999;
  user-select: none;
  p{
    margin-top: 15px;
  }
}


.course-pic-wrap{
  position: absolute;
  left: 60px;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: @white;
  background-size: cover;
  z-index: 999;
}
.course-pic-box{
  width: 100%;
  height: 100%;
  padding: 20px 20px 80px;
  box-sizing: border-box;
  background-color: #f0f0f5;
  text-align: center;
  .inner-content{
    width: 100%;
    height: 100%;
    overflow: auto;
  }
  img{
    max-width: 100%;
  }
}
.course-pic-bar{
  width: 100%;
  height: 60px;
  background-color: #27282a;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  color: @white;
  padding: 0 25px;
  .s-fl{
    position: relative;
    cursor: pointer;
    &:hover{
      .rules{
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
  .s-rw{
    line-height: 60px;
  }
  .rules{
    width: 160px;
    height: 50px;
    line-height: 48px;
    position: absolute;
    color: #808080;
    font-size: 12px;
    border: 1px solid @grayEB;
    box-sizing: border-box;
    border-radius: @radius;
    background-color: @white;
    text-align: center;
    top: -35px;
    left: -22px;
    opacity: 0;
    transform: translateY(5px);
    transition: all .2s ease-in-out;
  }
  .s-fr{
    padding: 15px 0;
  }
  .btn-study{
    width: 100px;
    height: 30px;
    line-height: 30px;
    background-color: @white;
    font-size: 12px;
    color: @gray66;
    &:hover{
      background-color: @green;
      color: @white;
      opacity: 1;
    }
  }
  .icon{
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: -2px;
    background-image: url("../images/main_icons.png");
    background-repeat: no-repeat;
    margin-right: 10px;
  }
  .icon-tips{
    background-position: -275px -25px;
  }
}



//测试
.course-test-wrap{
  position: relative;
  z-index: 999;
  background-color: #f0f0f5;
  padding: 80px 20px 20px 80px;
  box-sizing: border-box;
  .container{
    width: 100%;
    height: auto;
    background-color: @white;
    padding: 30px 40px;
    box-sizing: border-box;
  }
  .ctw-head{
    margin-bottom: 45px;
  }
  .question-item{
    margin-bottom: 35px;
  }
  .clock{
    width: 180px;
    height: 58px;
    line-height: 58px;
    display: inline-block;
    background-color: #f3fbff;
    color: @gray66;
    text-align: center;
    border-radius: 30px;
    strong{
      font-size: 18px;
      color: @gray33;
    }
  }
  .item-modular{
    margin-bottom: 20px;
  }
  .item-type{
    color: @gray66;
    margin-bottom: 28px;
    padding-left: 12px;
    strong{
      font-size: 20px;
      color: @gray33;
      margin-right: 8px;
    }
  }
  .item-title{
    background-color: #bbf2e6;
    border-radius: @radius;
    line-height: 30px;
    padding: 7px 12px;
  }
  .question-num{
    width: 105px;
    line-height: 22px;
    text-align: center;
    display: inline-block;
    border-bottom: 1px solid #1a1a1a;
    font-weight: bold;
    vertical-align: 4px;
  }
  .s-score{
    padding: 1px 4px;
    color: @white;
    font-size: 12px;
    background-color: @red;
    border-radius: 20px;
    margin-left: 5px;
  }
  .item-list{
    padding: 10px;
    li{
      line-height: 36px;
    }
  }
  .other-answer{
    width: 700px;
    height: 44px;
    border: 1px solid @grayEB;
    background-color: #f7f7f7;
    border-radius: @radius;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
  }
  .answer-input{
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0 50px 0 10px;
    box-sizing: border-box;
    background-color: transparent;
  }
  .answer-count{
    position: absolute;
    right: 10px;
    top: 13px;
    opacity: .3;
    line-height: 20px;
  }
  .q-tk{
    width: 700px;
    height: 44px;
    border: 1px solid @grayEB;
    background-color: #f7f7f7;
    border-radius: @radius;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
    .answer-input{
      padding-left: 54px;
    }
  }
  .tk-num{
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    background-color: @grayEB;
    border-radius: @radius;
    text-align: center;
    left: 0;
    top: 0;
  }
  .js-btn-sub{
    width: 150px;
    height: 46px;
  }
  .question-btn{
    padding: 50px 0;
  }
  .final-answer{
    color: @gray66;
    line-height: 30px!important;
  }
  //.tk-count{
  //  position: absolute;
  //  right: 10px;
  //  line-height: 30px;
  //  bottom: 6px;
  //  opacity: .3;
  //}
  .layui-form-radio{
    margin: 0;
    &.layui-form-radioed{
      .layui-icon{
        background-color: @blue;
        background: linear-gradient(-180deg, @green, @blue);
        border: 0!important;
      }
    }
    &.layui-disabled{
      color: @gray33!important;
    }
    .layui-icon{
      width: 16px;
      height: 16px;
      border: 1px solid @grayEB;
      background-color: #f7f7f7;
      border-radius: 50%;
      font-size: 0;
      box-sizing: border-box;
    }
  }
  .layui-form-checkbox{
    margin: 0;
    &.layui-form-checked{
      .layui-icon{
        background-color: @blue;
        background: linear-gradient(-180deg, @green, @blue);
        border: 0!important;
      }
    }
    .layui-icon{
      width: 16px;
      height: 16px;
      border: 1px solid @grayEB!important;
      background-color: #f7f7f7;
      font-size: 0;
      box-sizing: border-box;
      border-radius: 0;
    }
  }
  .layui-form-checkbox[lay-skin=primary]{
    span{
      color: @gray33;
    }
  }
}
.final-test-container{
  padding-bottom: 20px;
  .ft-info{
    font-size: 12px;
    color: @gray66;
    margin-bottom: 35px;
    span{
      margin-right: 25px;
    }
  }
  .score-total{
    font-size: 16px;
    .sp{
      margin-right: 30px;
    }
  }
  .st-score{
    font-size: 30px;
    color: #f37449;
    display: inline-block;
    vertical-align: -10px;
    font-style: normal;
  }
  .score-total{
    float: left;
  }
  .score-table{
    width: 600px;
    float: left;
    background-color: #f3fbff;
    display: table;
    margin-left: 35px;
    .t-head, .t-body{
      display: table-row;
    }
    .t-body{
      color: #f37449;
    }
    .td{
      height: 40px;
      display: table-cell;
      vertical-align: middle;
      border-left: 1px solid #c6ecfd;
      &:first-child{
        border-left: 0;
      }
    }
    .t-head{
      .td{
        border-bottom: 1px solid #c6ecfd;
      }
    }
  }
}
//视频
.tips-section{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  background-color: @black;
  box-sizing: border-box;
  color: @white;
  text-align: center;
  display: table;
  z-index: 1000;
  .section-container{
    display: table-cell;
    vertical-align: middle;
  }
  .section-name{
    font-size: 16px;
    margin-bottom: 28px;
  }
  .section-next{
    margin-bottom: 18px;
  }
  .next-course{
    width: 150px;
    height: 46px;
    line-height: 46px;
  }
  .review-course, .refresh-course{
    color: #919099;
    font-size: 12px;
    &:before{
      width: 14px;
      height: 14px;
      display: inline-block;
      content: "";
      vertical-align: -3px;
      background-image: url("../images/main_icons.png");
      background-repeat: no-repeat;
      background-position: -210px 0;
      margin-right: 6px;
    }
    &:hover{
      color: @blue;
      &:before{
        background-position: -230px 0;
      }
    }
  }
}

.comment-dialog-textarea{
  position: relative;
  width: 360px;
  height: 140px;
  background-color: #f7f7f7;
  border: 1px solid @grayEB;
  border-radius: @radius;
  .layui-textarea{
    width: 100%;
    height: 110px;
    background: none;
    padding: 10px;
    border: 0;
    resize: none;
    &::-webkit-input-placeholder{
      color: #ccc;
    }
  }
  .count{
    color: #ccc;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }
}

